package com.hongdee.scm.invioce.service;

import com.hongdee.scm.car.entity.TScmCar;
import com.hongdee.scm.invioce.entity.TCrmCarInvoice;

import java.util.List;
import java.util.Map;

/**
 * 名  称:ITCrmCarInvoiceService
 * 类  型:interface
 * 描  述:
 * 路  径:com.hongdee.crm.invioce.service
 * 作  者: 术洪超
 * 日  期:2017-07-04 20:57
 */
public interface ITCrmCarInvoiceService {

    /**
     * @param data 要保存的实体
     * @return Map
     * @throws Exception
     * @desc 保存添加的实体内容
     * @author 术洪超
     */

    public boolean saveOrUpdate(TCrmCarInvoice data, String uid) throws Exception;

    public List<Map<String, Object>> list(String sqlStr, Object... params);

    public void refreshCar(String uid, String carId) throws Exception;

}
